
# Standard python imports
import logging
import sys

# PyMak module imports to get them into this namespace
from target import *
from rule import *
from context import *
from pmutils import *
from path import *
from action import *
from properties import *


MAJOR_VERSION = 1
MINOR_VERSION = 0

def version_ok(major, minor):
    if major != MAJOR_VERSION or minor > MINOR_VERSION:
        logging.error("Wrong version of PyMak. Version %s.%s expected. This is version %s.%s" %
                      (major, minor, MAJOR_VERSION, MINOR_VERSION))
        sys.exit(1)


    
